package com.aaa.service;

import com.aaa.entity.User;
import com.aaa.vo.UserVo;
import com.aaa.vo.Result;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;
import java.util.Map;

public interface UserService extends IService<User> {
    Result<User> getUserInfo();

    public User findByUsername(String username);

    Result<IPage<User>> findByConditions(Integer currentPage, Integer pageSize, UserVo userVo);

    boolean delById(Long id);

    boolean saveAndUpdate(User user);
    //模块接口
    User getByUsername(String username);
    List<User> getListUser();
    List<User> getListAllUser(Map<String, Object> map);
    Result<String> loginOut();





}



